package com.tb.service.impl;

import com.tb.mapper.CollegeMapper;
import com.tb.mapper.TitleMapper;
import com.tb.pojo.College;
import com.tb.pojo.Title;
import com.tb.service.AllService;
import com.tb.service.CollegeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CollegeServiceImpl extends AllService implements CollegeService {


    @Autowired
    private CollegeMapper cm;


    @Override
    public List<College> findAll() {
        return cm.findAll();
    }
}
